import 'package:flutter/material.dart';
import 'package:flutter_chubao/tools/app_colors.dart';

class MyButtonStyles {
  static final elevatedButtonStyle = ElevatedButton.styleFrom(
    backgroundColor: kColorAssistB5,
    foregroundColor: Colors.white,
    minimumSize: const Size(double.infinity, 46),
    padding: const EdgeInsets.symmetric(horizontal: 16),
    textStyle: const TextStyle(
      color: Colors.white,
      fontSize: 15,
      fontWeight: FontWeight.bold,
    ),
    shadowColor: Colors.transparent,
    shape: const RoundedRectangleBorder(
      borderRadius: BorderRadius.all(Radius.circular(23)),
    ),
  );

  static final outlinedButtonStyle = OutlinedButton.styleFrom(
    backgroundColor: kColorAssistB5,
    foregroundColor: Colors.white,
    textStyle: const TextStyle(
      color: Colors.white,
      fontSize: 15,
      fontWeight: FontWeight.w500,
    ),
    minimumSize: const Size(double.infinity, 48),
    padding: const EdgeInsets.symmetric(horizontal: 16),
    side: const BorderSide(color: Color(0xFF999999)),
    shape: const RoundedRectangleBorder(
      borderRadius: BorderRadius.all(Radius.circular(8)),
    ),
  );
}
